package cn.getech.data.development.controller.api;

import cn.getech.data.development.api.ConfConnectApi;
import cn.getech.data.development.api.DefaultSecurityDataApi;
import cn.getech.data.development.entity.ConfConnect;
import cn.getech.data.development.service.BdpRealTableInfoService;
import cn.getech.data.development.service.ConfConnectApiService;
import cn.getech.data.development.service.ConfConnectService;
import cn.getech.data.development.vo.ConfConnectApiVo;
import cn.getech.data.development.vo.SecurityLevelVO;
import cn.hutool.core.bean.BeanUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName ConfConnectApiController
 * @Description TODO
 * @Author Getech
 * @Date 2020/12/24 11:46
 */
@RestController
public class SecutityApiController implements DefaultSecurityDataApi {

    @Autowired
    private BdpRealTableInfoService bdpRealTableInfoService;

    @Override
    public SecurityLevelVO getDefaultSecurityDataLevel() {
        return bdpRealTableInfoService.getDefaultSecurityDataLevel();
    }
}
